package com.example.feilin.entity;

import com.jfinal.plugin.activerecord.Model;
import com.jfinal.plugin.activerecord.Page;

/**
 * 油品
 * @author feilin
 *
 */
public class Material extends Model<Material>{
	
	public final static Material me = new Material();
	
	public Page<Material> paginate(int pageNumber, int pageSize) {
		return paginate(pageNumber, pageSize, "select *", "from T_MATERIAL_INFO t");
	}
}
